= simple_fields_for @invoice do |invoice|
  = invoice.fields_for :line_items, @line_item, :child_index => -(DateTime.now.to_i), wrapper: :inline do |line_item|
    = render "#{line_item.object.class.name.underscore.pluralize}/form", :line_item => line_item
